namespace XTCast.Radio
{
	using System;
	
	public class StreamSongTitle
	{
		internal int streamlength, udpseqnr;
		internal System.String streamtitle, streamurl, streammsg;
		
		private static int uniqUdpseqnr = 0;
		
		public StreamSongTitle()
		{
			lock(this)
			{
				udpseqnr = uniqUdpseqnr++;
			}
		}
		
		public StreamSongTitle(int udpseq)
		{
			udpseqnr = udpseq;
		}
		
		public override System.String ToString()
		{
			System.String str;
			str = "x-audiocast-udpseqnr: " + udpseqnr + "\r\n";
			str = str + "x-audiocast-streamtitle: " + streamtitle + "\r\n";
			str = str + "x-audiocast-streamurl: " + streamurl + "\r\n";
			str = str + "x-audiocast-streammsg: " + streammsg + "\r\n";
			str = str + "x-audiocast-streamlength: " + streamlength + "\r\n";
			return str;
		}
	}
}